﻿#ifndef RETURNEVENTFILTER_H
#define RETURNEVENTFILTER_H
#include"EventFilter.h"
#include<QKeyEvent>
//#include"EventType.h"
//回车按键事件过滤器
class ReturnEventFilter :public EventFilter
{
public:
	ReturnEventFilter(std::function<bool(QKeyEvent*)> fun,QObject* parent = nullptr);
private:
	std::function<bool(QKeyEvent*)> m_fun;
};
#endif 